-
Notifications
You must be signed in to change notification settings - Fork 7.8k
RTC and CAN shell completion #79251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTC and CAN shell completion #79251
Conversation
This commit makes it so the rtc shell command only tab completes with actual RTC devices instead of all devices. Signed-off-by: Yishai Jaffe <[email protected]>
This commit makes it so the can shell commands only tab completes with actual CAN devices instead of all devices. Signed-off-by: Yishai Jaffe <[email protected]>
Hello @yishai1999, and thank you very much for your first pull request to the Zephyr project! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Limiting the device selection/completion to in-tree compatibles is not an option, sorry.
This needs to solved on a higher level, which is being worked on.
@henrikbrixandersen I saw this is what's done in the ADC shell. How come it's not an option here? At least until a wider solution is found... |
Correct, but we are actively working on getting rid of that (see #67698 and #71773). There is no point in introducing more technical dept in this area. |
as per earlier comments, will close this one given recommended approach is being discussed in other PRs. @yishai1999 please do feel free to chime in there if you haven't already as I hope you will find other way to contribute than this current PR! :) |
Trying to improve the shell commands completion